package com.wyl.pmd.rule.bestpractices;

public class DefaultLabelNotLastInSwitchStmt {

	void bar(int a) {
		switch (a) {
		case 1: // do something
			break;
		default: // 按照约定，default分支语句应放到最后
			break;
		case 2:
			break;
		}
	}

}
